package com.jumi.microservice.constant.reissue;

import com.jumi.microservice.common.base.dto.AbstractEnum;

/**
 * @author Scw
 * @Date 2020-08-13 15:10
 */
public enum PhoneTypeEnum implements AbstractEnum {
    //手机号类型
    PHONE_TYPE_BUY(1, "购买人手机号"),
    PHONE_TYPE_RECEIVE(2, "收件人手机号");

    private Integer code;
    private String desc;

    PhoneTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
